//
// Created by Administrator on 2025/8/18.
//

#ifndef INC_12_FREERTOS_LWIP_MQTT_NEWLAND_SENSOR_PROCESS_H
#define INC_12_FREERTOS_LWIP_MQTT_NEWLAND_SENSOR_PROCESS_H
#include "main.h"
#include "FreeRTOS.h"
#include "task.h"
#include "queue.h"
extern QueueHandle_t sensor_recv_queue;
extern QueueHandle_t sensor_send_queue;
typedef struct
{
    char *payload;
    int payload_len;
}sensor_raw_data_t;

typedef struct
{
    uint8_t sensor_count;
    char **sensor_id;
    char **sensor_data;
}sensor_interpreted_data;



void data_codec_init(void *pvParams);

void sensor_decode(void *pvParams);

void sensor_codec(void *pvParams);



#endif //INC_12_FREERTOS_LWIP_MQTT_NEWLAND_SENSOR_PROCESS_H